import 'package:flutter_test/flutter_test.dart';
import 'package:im_app/im/util/EmojiUtil.dart';
import 'package:logger/logger.dart';

void main() {
  var _logger = Logger(
    printer: PrettyPrinter(),
  );

  test("parse server emojiStr", () async {
    String content = '￼e{smile}￼e{smiley}￼e{grin}￼e{smile}￼e{smiley}￼e{grin}';
    String flutterContent = EmojiUtil.replaceServerEmoji(content);
    _logger.i("emoji content:  ${flutterContent}");
  });
}